package com.chixing.day09_innerclass.season;

/**
 * 可列举 有限的类对象
 */
public class Season {
    public static final Season SPRING = new Season("春");
    public static final Season SUMMER = new Season("夏");
    public static final Season AUTUMN = new Season("秋");
    public static final Season WINTER = new Season("冬");

    private static String name;
    private Season() {
    }
    private Season (String name){
        this.name =name;

    }


}
